// Fill out your copyright notice in the Description page of Project Settings.

#include "WorldEntityPart.h"

WORLD_ENTITY_META_DEFINE(FWorldEntityPart, FWorldEntityPart);

FWorldEntityPart::FWorldEntityPart()
	: _parent(nullptr)
{}

FWorldEntityPart::FWorldEntityPart(FWorldEntityPart* parent, const pugi::xml_node& elem)
	: _parent(parent)
	, _xml(elem)
{}

FWorldEntityPart::~FWorldEntityPart()
{}

void FWorldEntityPart::ToXml(pugi::xml_node& elem)
{}

void FWorldEntityPart::Resolve(FWorldEntityReferencing& referencing)
{}

void FWorldEntityPart::PropertyChanged()
{
	if (_parent)
	{
		_parent->PropertyChanged();
	}
}
